import { Dimensions } from "react-native";

// 屏幕宽高
export const windowWidth:number = Dimensions.get('window').width;
export const windowHeight:number = Dimensions.get('window').height;

// 分页数
export const perSize = 10;
// 公共配置
export enum CommonConfig {
  color = "#006AFF",
  bgColor = '#F2F2F2',
  fontColor = "#111"
}

//、分页初始值
export const initMeta = {
  // 当前页
  currentPage: 1,
  // 最后一页
  lastPage: 1,
  // 当前请求条数
  perSize: 6,
  // 总页数
  total: 6
}
